// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

.edit-container,
.afterSale-container,
.statistics-container {
  .el-dialog__wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .v-modal {
    position: absolute;
  }
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

// table
.el-table {
  &__header-wrapper {
    .cell {
      color: #9EA0A5;
    }
  }

  &__body-wrapper {
    .cell {
      color: #3E3F42;
    }
  }

  .cell {
    font-weight: normal;
  }

  th,
  td {
    padding: 10px 0;

    >.cell {
      padding-left: 0;
      padding-right: 0;
    }
  }
}

.table-column {
  &__body {
    color: #9EA0A5;
  }
}

// pagination
.el-pager {
  li {
    min-width: 26px !important;
  }
}

.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: #f4f4f5;
  color: #1E87F0;
}

.el-pagination {
  padding: 0;

  &__jump {
    margin-left: 5px;
  }
}

// teaching
.el-menu-item,
.el-submenu__title {
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
  border-radius: 4px;
}

// divider
.el-divider {
  background-color: #EAEDF3;
}

.el-divider--horizontal {
  margin: 0;
}

// el-dialog
.el-dialog {
  &__header {
    padding: 24px 30px 20px 30px;
  }

  &__headerbtn {
    top: 24px;
    right: 30px;
  }

  &__body {
    padding: 0 30px;
  }

  &__footer {
    padding: 30px;
  }
}

// el-calendar
.el-calendar__body {
  padding: 0;
}

.el-calendar-table tr td {
  border-right: none;

  &:first-child {
    border-left: none;
  }
}

// el-card
.el-card {
  border-radius: 4px;
  border: 1px solid rgba(234, 237, 243, 1);

  &.is-always-shadow,
  &.is-hover-shadow:focus,
  &.is-hover-shadow:hover {
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.04);
  }

  .card-footer {
    padding-top: 30px;
  }
}

// el-scrollerbar
.el-scrollbar {

  .el-scrollbar__wrap,
  .default-scrollbar__wrap {
    overflow-x: hidden;
  }

  .el-scrollbar__view.scrollbar__view {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
  }

  .el-scrollbar__bar.is-vertical {
    width: 10px;
  }
}

// el-select
.el-select-dropdown__item.supplierInfo {
  height: 60px !important;
  padding: 10px 20px;

  span,
  p {
    font-size: 12px;
    color: #6B6C6F;
  }
}

// el-tabs
.el-tabs {
  &__header {
    margin: 0;
  }

  & .el-tabs__nav-wrap::after {
    //background-color: transparent;
  }

  &__item {
    box-shadow: none !important;
    border-radius: 0;
  }
}

.bColorT {

  //   .el-tabs__header {
  //     border-color: transparent !important;
  //   }
  >.el-tabs__header {
    .el-tabs__nav-scroll {

      .el-tabs__nav {
        // border-color: transparent !important;
        border-top: 2px solid #E4E7ED !important;
      }
    }

  }

  //   .el-tabs__item {
  //     border-color: transparent !important;
  //     border-left: none !important;
  //     border-right: none !important;
  //   }
  .el-tabs__header {
    .el-tabs__item:last-child {
      // border-color: transparent !important;
      // border-left: none !important;
      // border-right: none !important;
    }
  }
}

.navbar {
  border-color: transparent !important;
}

.navbar .right-menu {
  border-left: none !important;
}
